package com.gqj.bas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gqj.common.annotation.Excel;
import com.gqj.common.core.domain.BaseEntity;

/**
 * 密品柜子对象 bas_cabinet
 * 
 * @author lxq
 * @date 2023-12-17
 */
public class BasCabinet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long cabinetId;

    /** 库房ID */
    private Long warehouseId;

    /** 库房ID */
    @Excel(name = "库房ID")
    private String warehouseName;

    /** 柜子编码 */
    @Excel(name = "柜子编码")
    private String cabinetCode;

    /** 柜子名称 */
    @Excel(name = "柜子名称")
    private String cabinetName;

    /** 柜子ip */
    @Excel(name = "柜子ip")
    private String cabinetIp;

    /** 类型 1-柜子 2-RFID货架 3-承重货架 */
    @Excel(name = "类型" , readConverterExp = "1=柜子,2=RFID货架,3=称重货架")
    private String cabinetType;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCabinetId(Long cabinetId) 
    {
        this.cabinetId = cabinetId;
    }

    public Long getCabinetId() 
    {
        return cabinetId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setCabinetCode(String cabinetCode) 
    {
        this.cabinetCode = cabinetCode;
    }

    public String getCabinetCode() 
    {
        return cabinetCode;
    }
    public void setCabinetName(String cabinetName) 
    {
        this.cabinetName = cabinetName;
    }

    public String getCabinetName() 
    {
        return cabinetName;
    }
    public void setCabinetIp(String cabinetIp) 
    {
        this.cabinetIp = cabinetIp;
    }

    public String getCabinetIp() 
    {
        return cabinetIp;
    }
    public void setCabinetType(String cabinetType) 
    {
        this.cabinetType = cabinetType;
    }

    public String getCabinetType() 
    {
        return cabinetType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cabinetId", getCabinetId())
            .append("warehouseId", getWarehouseId())
            .append("cabinetCode", getCabinetCode())
            .append("cabinetName", getCabinetName())
            .append("cabinetIp", getCabinetIp())
            .append("cabinetType", getCabinetType())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
